﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MINERP.DAL.CommonDAL
{
    public class GridRecordDAL:DALBase
    {
        /// <summary>
        /// 添加一条历史记录
        /// </summary>
        /// <param name="histroryRecord"></param>
        public void AddRecordHistory(GridRecordHistory  histroryRecord)
        {
            DataEntites.AddToGridRecordHistory(histroryRecord);
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="gridRecord"></param>
        public void DeleteGridRecord(GridRecord gridRecord)
        {
            DataEntites.DeleteObject(gridRecord);
        }
    }
}
